package com.example.robot.props;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "robot")
public class RobotProperties {

    private String prefix;

    public RobotProperties() {}
    public RobotProperties(String prefix) {
        this.prefix = prefix;
    }

    public String getPrefix() { return prefix; }
    public void setPrefix(String prefix) { this.prefix = prefix; }

    @Override
    public String toString() {
        return "RobotProperties{" +
                "prefix='" + prefix + '\'' +
                '}';
    }
}
